package com.kitty.game.party.model;

import com.kitty.game.utils.TimeUtil;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class FetchRedBagRecord {
    private long roleUid;
    private short coin;
    private int time;

    public FetchRedBagRecord() {}

    public FetchRedBagRecord(long roleUid, short coin) {
        this.roleUid = roleUid;
        this.coin = coin;
        this.time = (int) (System.currentTimeMillis() / TimeUtil.ONE_SECOND);
    }
}
